package com.witdata;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan({"com.witdata.mysql.base.mapper",
"com.witdata.mysql.mapper"})
@EnableTransactionManagement
@EnableAsync
@ServletComponentScan
@EnableScheduling
public class WitdataApplication {

    public static void main(String[] args) {
        SpringApplication.run(WitdataApplication.class, args);
    }
}
